.class Lcom/jecelyin/editor/v2/ui/b$g;
.super Lcom/jecelyin/editor/v2/widget/text/c;
.source "EditorDelegate.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/jecelyin/editor/v2/ui/b;->c(I)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/jecelyin/editor/v2/widget/text/c<",
        "Ljava/lang/String;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic b:I

.field final synthetic c:Lcom/jecelyin/editor/v2/ui/b;


# direct methods
.method constructor <init>(Lcom/jecelyin/editor/v2/ui/b;I)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/jecelyin/editor/v2/ui/b$g;->c:Lcom/jecelyin/editor/v2/ui/b;

    iput p2, p0, Lcom/jecelyin/editor/v2/ui/b$g;->b:I

    invoke-direct {p0}, Lcom/jecelyin/editor/v2/widget/text/c;-><init>()V

    return-void
.end method


# virtual methods
.method public bridge synthetic a(Ljava/lang/Object;)V
    .locals 0

    .line 1
    check-cast p1, Ljava/lang/String;

    invoke-virtual {p0, p1}, Lcom/jecelyin/editor/v2/ui/b$g;->b(Ljava/lang/String;)V

    return-void
.end method

.method public b(Ljava/lang/String;)V
    .locals 2

    .line 1
    iget v0, p0, Lcom/jecelyin/editor/v2/ui/b$g;->b:I

    sget v1, Lcom/jecelyin/editor/v2/j;->je_m_convert_to_uppercase:I

    if-ne v0, v1, :cond_0

    .line 2
    invoke-virtual {p1}, Ljava/lang/String;->toUpperCase()Ljava/lang/String;

    move-result-object p1

    goto :goto_0

    .line 3
    :cond_0
    invoke-virtual {p1}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;

    move-result-object p1

    .line 4
    :goto_0
    iget-object v0, p0, Lcom/jecelyin/editor/v2/ui/b$g;->c:Lcom/jecelyin/editor/v2/ui/b;

    iget-object v0, v0, Lcom/jecelyin/editor/v2/ui/b;->b:Lcom/jecelyin/editor/v2/widget/text/EditAreaView;

    const/4 v1, 0x1

    invoke-virtual {v0, p1, v1}, Lcom/jecelyin/editor/v2/widget/text/EditAreaView;->a(Ljava/lang/CharSequence;Z)V

    return-void
.end method
